package com.galen.manual.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户状态更新DTO
 */
@Data
@Schema(description = "用户状态更新参数")
public class UserStatusUpdateDTO {

    @NotNull(message = "用户ID不能为空")
    @Schema(description = "用户ID", example = "123456")
    private Long userId;

    @NotNull(message = "状态不能为空")
    @Schema(description = "用户状态：0-待审核，1-正常，2-冻结，3-黑名单", example = "2")
    private Integer status;

    @Schema(description = "操作原因", example = "违规操作")
    private String reason;
}